iphoneHeadingCalibrationTimeout
Type
function
Summary
Returns the current value of the magnetometer calibration timeout.
Syntax
iphoneHeadingCalibrationTimeout()
Description
Use the iphoneHeadingCalibrationTimeout function to find the current value of the magnetometer calibration timeout.
It is sometimes necessary for the system to prompt the user to calibrate the magnetometer in order to provide reliable heading information. The iphoneHeadingCalibrationTimeout function returns the number of seconds this prompt is shown for. The calibration timeout can be set using the iphoneSetHeadingCalibrationTimeout command.
Examples
get iphoneHeadingCalibrationTimeout()
put iphoneHeadingCalibrationTimeout() into tTimeout
Related
command: iphoneStopTrackingHeading, iphoneSetHeadingCalibrationTimeout, iphoneStartTrackingHeading
function: mobileCurrentHeading, mobileCanTrackHeading
message: trackingError, headingChanged
Compatibility and Support
Introduced
LiveCode 4.6.1
OS
ios
Platforms
mobile